<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- The HTML 4.01 Transitional DOCTYPE declaration-->
<!-- above set at the top of the file will set     -->
<!-- the browser's rendering engine into           -->
<!-- "Quirks Mode". Replacing this declaration     -->
<!-- with a "Standards Mode" doctype is supported, -->
<!-- but may lead to some differences in layout.   -->

<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Hello App Engine</title>
</head>
<%
	String error="";
	if(request.getParameter("error")!=null){
		error=request.getParameter("error");
	}
%>
<body>
<form name="encryptForm"  method="post" action="/util/encrypt">
<table>
	<tr><%=error%></tr>
	<tr>
		<td colspan="2" style="font-weight: bold;">Encrypt operation:</td>
	</tr>
	<tr>
		<td>Unique Id:</td>
		<td><input type="text" name="id" value=""/></td>
	</tr>
	<tr>
		<td>Key for encryption:</td>
		<td><input type="text" name="key" value="" /></td>
	</tr>
	<tr>
		<td>Data to encrypt:</td>
		<td><textarea name="dataToEncrypt"></textarea></td>
	</tr>
	<tr>
		<td><input type="submit" value="Encrypt" /></td>
		<td><input type="reset" value="Clear all" /></td>
	</tr>
</table>
</form>
</body>
</html>
